package com.wolfheader.wolfgame.service;

import java.util.List;

import com.wolfheader.wolfgame.entity.GamePlayerEntity;
import com.wolfheader.wolfgame.entity.GameRecordEntity;
import com.wolfheader.wolfgame.service.admin.BaseAdminService;

/**
 * Service - 游戏记录(总)
 * 
 * @author 8615 Team
 * @version 1.0
 */
public interface GameRecordService extends BaseAdminService<GameRecordEntity, Long> {

	/**
	 * 新增一条记录
	 */
	void createNewCord(GamePlayerEntity entity, String gameid);

	void updateRecord(GameRecordEntity record);

	List<GameRecordEntity> findListByGameId(String gameid);

	boolean saveScore(String gameid, String openid, Integer score);

}
